//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by FernFlower decompiler)
//

package com.carhailing.common.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName("car")
public class CarDto {
    private Long vehicleId;
    private String vehicleNo;
    private Integer vehicleSeats;
    private String vehicleBrand;
    private String vehicleModel;
    private String vehicleType;
    private String vehicleDesc;
    private String vehicleColor;
    private String vehicleMileage;
    private String fixState;
    private Integer vehicleState;

    public CarDto() {
    }

    public Long getVehicleId() {
        return this.vehicleId;
    }

    public String getVehicleNo() {
        return this.vehicleNo;
    }

    public Integer getVehicleSeats() {
        return this.vehicleSeats;
    }

    public String getVehicleBrand() {
        return this.vehicleBrand;
    }

    public String getVehicleModel() {
        return this.vehicleModel;
    }

    public String getVehicleType() {
        return this.vehicleType;
    }

    public String getVehicleDesc() {
        return this.vehicleDesc;
    }

    public String getVehicleColor() {
        return this.vehicleColor;
    }

    public String getVehicleMileage() {
        return this.vehicleMileage;
    }

    public String getFixState() {
        return this.fixState;
    }

    public Integer getVehicleState() {
        return this.vehicleState;
    }

    public void setVehicleId(final Long vehicleId) {
        this.vehicleId = vehicleId;
    }

    public void setVehicleNo(final String vehicleNo) {
        this.vehicleNo = vehicleNo;
    }

    public void setVehicleSeats(final Integer vehicleSeats) {
        this.vehicleSeats = vehicleSeats;
    }

    public void setVehicleBrand(final String vehicleBrand) {
        this.vehicleBrand = vehicleBrand;
    }

    public void setVehicleModel(final String vehicleModel) {
        this.vehicleModel = vehicleModel;
    }

    public void setVehicleType(final String vehicleType) {
        this.vehicleType = vehicleType;
    }

    public void setVehicleDesc(final String vehicleDesc) {
        this.vehicleDesc = vehicleDesc;
    }

    public void setVehicleColor(final String vehicleColor) {
        this.vehicleColor = vehicleColor;
    }

    public void setVehicleMileage(final String vehicleMileage) {
        this.vehicleMileage = vehicleMileage;
    }

    public void setFixState(final String fixState) {
        this.fixState = fixState;
    }

    public void setVehicleState(final Integer vehicleState) {
        this.vehicleState = vehicleState;
    }

    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        } else if (!(o instanceof CarDto)) {
            return false;
        } else {
            CarDto other = (CarDto)o;
            if (!other.canEqual(this)) {
                return false;
            } else {
                label143: {
                    Object this$vehicleId = this.getVehicleId();
                    Object other$vehicleId = other.getVehicleId();
                    if (this$vehicleId == null) {
                        if (other$vehicleId == null) {
                            break label143;
                        }
                    } else if (this$vehicleId.equals(other$vehicleId)) {
                        break label143;
                    }

                    return false;
                }

                Object this$vehicleSeats = this.getVehicleSeats();
                Object other$vehicleSeats = other.getVehicleSeats();
                if (this$vehicleSeats == null) {
                    if (other$vehicleSeats != null) {
                        return false;
                    }
                } else if (!this$vehicleSeats.equals(other$vehicleSeats)) {
                    return false;
                }

                Object this$vehicleState = this.getVehicleState();
                Object other$vehicleState = other.getVehicleState();
                if (this$vehicleState == null) {
                    if (other$vehicleState != null) {
                        return false;
                    }
                } else if (!this$vehicleState.equals(other$vehicleState)) {
                    return false;
                }

                label122: {
                    Object this$vehicleNo = this.getVehicleNo();
                    Object other$vehicleNo = other.getVehicleNo();
                    if (this$vehicleNo == null) {
                        if (other$vehicleNo == null) {
                            break label122;
                        }
                    } else if (this$vehicleNo.equals(other$vehicleNo)) {
                        break label122;
                    }

                    return false;
                }

                label115: {
                    Object this$vehicleBrand = this.getVehicleBrand();
                    Object other$vehicleBrand = other.getVehicleBrand();
                    if (this$vehicleBrand == null) {
                        if (other$vehicleBrand == null) {
                            break label115;
                        }
                    } else if (this$vehicleBrand.equals(other$vehicleBrand)) {
                        break label115;
                    }

                    return false;
                }

                Object this$vehicleModel = this.getVehicleModel();
                Object other$vehicleModel = other.getVehicleModel();
                if (this$vehicleModel == null) {
                    if (other$vehicleModel != null) {
                        return false;
                    }
                } else if (!this$vehicleModel.equals(other$vehicleModel)) {
                    return false;
                }

                Object this$vehicleType = this.getVehicleType();
                Object other$vehicleType = other.getVehicleType();
                if (this$vehicleType == null) {
                    if (other$vehicleType != null) {
                        return false;
                    }
                } else if (!this$vehicleType.equals(other$vehicleType)) {
                    return false;
                }

                label94: {
                    Object this$vehicleDesc = this.getVehicleDesc();
                    Object other$vehicleDesc = other.getVehicleDesc();
                    if (this$vehicleDesc == null) {
                        if (other$vehicleDesc == null) {
                            break label94;
                        }
                    } else if (this$vehicleDesc.equals(other$vehicleDesc)) {
                        break label94;
                    }

                    return false;
                }

                label87: {
                    Object this$vehicleColor = this.getVehicleColor();
                    Object other$vehicleColor = other.getVehicleColor();
                    if (this$vehicleColor == null) {
                        if (other$vehicleColor == null) {
                            break label87;
                        }
                    } else if (this$vehicleColor.equals(other$vehicleColor)) {
                        break label87;
                    }

                    return false;
                }

                Object this$vehicleMileage = this.getVehicleMileage();
                Object other$vehicleMileage = other.getVehicleMileage();
                if (this$vehicleMileage == null) {
                    if (other$vehicleMileage != null) {
                        return false;
                    }
                } else if (!this$vehicleMileage.equals(other$vehicleMileage)) {
                    return false;
                }

                Object this$fixState = this.getFixState();
                Object other$fixState = other.getFixState();
                if (this$fixState == null) {
                    if (other$fixState != null) {
                        return false;
                    }
                } else if (!this$fixState.equals(other$fixState)) {
                    return false;
                }

                return true;
            }
        }
    }

    protected boolean canEqual(final Object other) {
        return other instanceof CarDto;
    }

    public int hashCode() {
        int result = 1;
        Object $vehicleId = this.getVehicleId();
        result = result * 59 + ($vehicleId == null ? 43 : $vehicleId.hashCode());
        Object $vehicleSeats = this.getVehicleSeats();
        result = result * 59 + ($vehicleSeats == null ? 43 : $vehicleSeats.hashCode());
        Object $vehicleState = this.getVehicleState();
        result = result * 59 + ($vehicleState == null ? 43 : $vehicleState.hashCode());
        Object $vehicleNo = this.getVehicleNo();
        result = result * 59 + ($vehicleNo == null ? 43 : $vehicleNo.hashCode());
        Object $vehicleBrand = this.getVehicleBrand();
        result = result * 59 + ($vehicleBrand == null ? 43 : $vehicleBrand.hashCode());
        Object $vehicleModel = this.getVehicleModel();
        result = result * 59 + ($vehicleModel == null ? 43 : $vehicleModel.hashCode());
        Object $vehicleType = this.getVehicleType();
        result = result * 59 + ($vehicleType == null ? 43 : $vehicleType.hashCode());
        Object $vehicleDesc = this.getVehicleDesc();
        result = result * 59 + ($vehicleDesc == null ? 43 : $vehicleDesc.hashCode());
        Object $vehicleColor = this.getVehicleColor();
        result = result * 59 + ($vehicleColor == null ? 43 : $vehicleColor.hashCode());
        Object $vehicleMileage = this.getVehicleMileage();
        result = result * 59 + ($vehicleMileage == null ? 43 : $vehicleMileage.hashCode());
        Object $fixState = this.getFixState();
        result = result * 59 + ($fixState == null ? 43 : $fixState.hashCode());
        return result;
    }

    public String toString() {
        return "CarDto(vehicleId=" + this.getVehicleId() + ", vehicleNo=" + this.getVehicleNo() + ", vehicleSeats=" + this.getVehicleSeats() + ", vehicleBrand=" + this.getVehicleBrand() + ", vehicleModel=" + this.getVehicleModel() + ", vehicleType=" + this.getVehicleType() + ", vehicleDesc=" + this.getVehicleDesc() + ", vehicleColor=" + this.getVehicleColor() + ", vehicleMileage=" + this.getVehicleMileage() + ", fixState=" + this.getFixState() + ", vehicleState=" + this.getVehicleState() + ")";
    }
}
